<?php /* Smarty version 2.6.18, created on 2009-10-21 16:40:39
         compiled from bao_tri_hrcmlists.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'HRFORMULAR')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
 <?php $_from = $this->_tpl_vars['chuyentrang1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_CMFLD']; ?>
</td>
    <td colspan="3" style="color:#FF0000;">
	<select id="CMFLD" name="tmpCMFLD" size="1" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> disabled="disabled" <?php endif; ?> ">
	<option value=""/>
	  
 		<?php $_from = $this->_tpl_vars['cbo_cmfld']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      	
	  <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['CMFLD'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
	  
 		<?php endforeach; endif; unset($_from); ?>
		
	  </select> 
	* 
      <input type="hidden" name="CMFLD" value="<?php echo $this->_tpl_vars['CMFLD']; ?>
"/>	</td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_VNDESC']; ?>
</td>
    <td colspan="3">
      	<input name="VNDESC" id="VNDESC" type="text" value="<?php echo $this->_tpl_vars['VNDESC']; ?>
" size="50" maxlength="50"/>     </td>
    </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_ENDESC']; ?>
</td>
    <td colspan="3"><input name="ENDESC" id="ENDESC" type="text" value="<?php echo $this->_tpl_vars['ENDESC']; ?>
" size="50" maxlength="50"/></td>
    </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_ISDFT']; ?>
</td>
    <td colspan="3">
		<select name="ISDFT" size="1">
 		<?php $_from = $this->_tpl_vars['cbo_enabled']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      	<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['ISDFT'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>
		</select>   </td>
	</tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_LSCODE']; ?>
</td>
    <td colspan="3" style="color:#FF0000;">
	   <input type="text" name="LSCODE" id="LSCODE" value="<?php echo $this->_tpl_vars['LSCODE']; ?>
" size="20" maxlength="5" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> readonly="readOnly" <?php endif; ?> onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onblur="this.value=this.value.toUpperCase().replace(' ','');"/> 
	   *  
      <input type="button" onclick="mywindow = window.open('hrcmlists_lscode.php?id='+document.getElementById('CMFLD').value+'&type=2', 'mywindow','menubar=0,resizable=yes,width=400,height=300, scrollbars=yes');mywindow.moveTo((screen.width-400)/2,screen.height/2);" name="findlscode" id="replacement_binoculars" value="     "  <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> disabled="disabled" <?php endif; ?> /> <input type="submit" name="find" value="    " id="replacement_find"  <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> disabled="disabled" <?php endif; ?>  />	 </td>
    </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_LSVAL']; ?>
</td>
    <td colspan="3">
	 <input name="LSVAL" id="LSVAL" type="text" value="<?php echo $this->_tpl_vars['LSVAL']; ?>
" size="20" maxlength="20"  onBlur="checkCurrency20(this,this.value); formatNumber(this,this.value);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" style="text-align:right;"/>	</td>
	</tr>
	<tr>
	  <td><?php echo $this->_tpl_vars['lbl_LSDESC']; ?>
</td>
	  <td colspan="3"><input name="LSDESC" id="LSDESC" type="text" value="<?php echo $this->_tpl_vars['LSDESC']; ?>
" size="50" maxlength="50" /></td>
    </tr>
	<tr>
    <td><?php echo $this->_tpl_vars['lbl_CM2POS']; ?>
</td>
    <td colspan="3"><select name="CM2POS" id="CM2POS" size="1">
 		<?php $_from = $this->_tpl_vars['cbo_CM2POS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      	<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['CM2POS'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>
		</select></td>
	</tr>
<tr>    
    <td colspan="4">&nbsp;	</td>
</tr>
<tr>
<td width="20%">
<input value="<?php echo $this->_tpl_vars['lich_su_thay_doi']; ?>
" name="lichsuthaydoi" type="button" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" onclick="mywindow = window.open('lich_su_hrcmlists.php?CMFLD=<?php echo $this->_tpl_vars['CMFLD']; ?>
&LSCODE=<?php echo $this->_tpl_vars['LSCODE']; ?>
', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
<td colspan="3" align="right" nowrap="nowrap">

   <input type="button" name="cancle" id="cancle" value="<?php echo $this->_tpl_vars['ten_cancle']; ?>
" class="button_style" onclick="activeform(this.form,'tmpCMFLD-LSCODE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
   
   <input type="submit" name="capnhat" value="<?php echo $this->_tpl_vars['ten_cap_nhat']; ?>
" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?> class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td colspan="4" align="left" nowrap="nowrap">
<input name="addnew" type="submit" value="<?php echo $this->_tpl_vars['ten_themmoi']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="<?php echo $this->_tpl_vars['ten_chitiet']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td >
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
 <?php $_from = $this->_tpl_vars['chuyentrang1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
<?php echo $this->_tpl_vars['javascriptsetstyle']; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>